import http from 'http';
import SocketIO from 'socket.io';
import initSocketIo from '../io.js'

module.exports = app => {
    // app.db.sequelize.sync().done(() => {
        let server = app.server;
        server.listen(app.get('port'), () => {
            console.log(`department api - Port ${app.get('port')}`);
        });
    // });
};
